@import "../../shared/modal.less";
@import (reference) "../../shared/common.less";
@mark-red: #DD433E; // 主色红
@hover-mark-red: #EE4242; // 主色hover
@hover-grey-daker: #666; // 灰色hover
.add-stock-modal {
  p {
    text-align: center;
    font-size: 1.4rem;
    span {
      color: @hover-mark-red;
    }
  }
  .modal-head {
    .modal-close {
      float: right;
    }
    padding: 10px;
    font-size: 1.8rem;
    text-align: center;
    &::after {
      display: block;
      content: "";
      clear: both;
    }
  }
  .modal-dialog {
    width: 340px;
    // border-radius: 4px;
    // box-shadow: 0 0 12px 0px rgba(0, 0, 0, .6);
    .modal-body {
      // padding: 20px 40px 10px;
    }
  }
  .watchlists {
    display: block;
    max-height: 220px;
    overflow-y: auto;
    .form-control {
      display: table-row;
      &>* {
        // display: table-cell;
      }
      .input-wrapper {
        text-align: right;
      }
    }
  }
  .modal-body {
    margin-top: -10px;
    .add-stock-form {
      // margin-top: 30px;
      .form-group {
        &.watchlists {
          margin: 10px auto;
          // margin: 40px 0;
          // padding-left: 84px;
        }
        .form-control {
          line-height: 2.4rem;
          font-size: 1.4rem;
          input {
            margin-right: 10px;
            margin-bottom: 2px;
            padding: 0 10px;
            vertical-align: middle;
          }
        }
        .btn.submit {
          border: 1px solid @mark-red;
          &:hover {
            background: none;
          }
        }
      }
      .btn-zone {
        .display-flex(row);
        .btn {
          .flex();
        }
        .btn+.btn {
          margin-left: 10px;
        }
        text-align: center;
      }
    }
  }
}